Skip to content

Use type hints to further emphasize the custom serialization api#2116

Merged
mrocklin merged 1 commit intodask:masterfrom
dhirschfeld:docs-for-dummies
Jul 13, 2018
Merged

Use type hints to further emphasize the custom serialization api#2116
mrocklin merged 1 commit intodask:masterfrom
dhirschfeld:docs-for-dummies

Conversation

@dhirschfeld
Copy link
Copy Markdown
Contributor

No description provided.

@mrocklin
Copy link
Copy Markdown
Member

It's interesting to see types used in documentation like this. I wouldn't have thought of doing it myself. This looks good to me. Merging.

(also, my apologies about the intermittent failures. I hope to find time to clean up that test soonish.)

@mrocklin mrocklin merged commit 67239aa into dask:master Jul 13, 2018
@dhirschfeld dhirschfeld deleted the docs-for-dummies branch July 14, 2018 01:16
@dhirschfeld
Copy link
Copy Markdown
Contributor Author

I think types, in documentation or otherwise can really help in understanding the intended api. It's something we've been using in our codebase since before mypy and we've found it pretty invaluable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants